home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Applications / POV-Ray 2.2 / POVMAC / POV-Ray / POV-Ray.rsrc / TEXT_201_camera.txt < prev    next >
Encoding:
Text File  |  1994-02-10  |  368 b   |  10 lines

  1. // set viewer's position in the scene
  2. camera
  3. {
  4.   location  <0.0,  1.0, -6.0> // <X Y Z>
  5.   direction 2.0*z             // which way are we looking <X Y Z>
  6.   up        y                 // which way is +up <X Y Z>
  7.   right     4/3*x             // which way is +right <X Y Z> and aspect ratio
  8.   look_at   <0.0,  0.0,  0.0> // point center of view at this point <X Y Z>
  9. }
  10.